<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>Document</title>
</head>
<body>
	<script type="text/javascript">
/*	var num1=prompt("输入你要运算的第一数");
	var fuhao=prompt("输入你要运算的类型");
 	var num2=prompt('输入你要运算的第二个数')

 	str=mum1+fuhao+num2;

 	switch(fuhao){
 		case"+":
 		alert(Number(num1)+Number(num2));
 		break;
 		case 900:
 		alert('你现在有'+num+'元');
 		break;
 		default:
 		alert("你现在没有钱")
	}*/
 /*  for (var i=1; i <=5; i++){
   	document.write(i);
   	document.write('<br>');
   }*/

 /*  var num=0;
   while(num<30){
   	document.write(num);
   	document.write("<br>");
   	num++;
   }*/

for(var i=0; i<100; i++){
	if(i>22){
		break;
	}
	document.write(i);
	document.write("<br>");
}

</script>
</body>
</html>